package cn.bx.bid.ctrl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;

@Controller
public class HellowController {

    @RequestMapping("/sayhi")
    public  String hellow(HttpServletRequest request){
      request.setAttribute("hellow","你好springmvc,现在是："+new Date());
      return  "/hellow.jsp";
    }
}
